package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.FacilitiesFile;
import cn.topevery.garden.entity.query.FacilitiesFileQuery;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
public interface FacilitiesFileDao extends BaseDao<FacilitiesFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<FacilitiesFile> listPage(FacilitiesFileQuery query);

    void delByMainId(String userId, Integer mainId);

    List<FacilitiesFile> getByMainId(Integer mainId);
}
